package id.net.iconpln.bb.server.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import id.net.iconpln.bb.server.dao.MasterDao;
import id.net.iconpln.bb.server.dao.PortDao;
import id.net.iconpln.bb.server.dao.ShipmentDao;
import id.net.iconpln.bb.server.service.PortService;


@Service
@Transactional(readOnly = true)
public class PortServiceImpl implements PortService{
	@Autowired private ShipmentDao shipmentDao;
	@Autowired private MasterDao masterDao;
	@Autowired private PortDao portDao;
	
	@Override
	public List<Map> getListPengiriman(String kode, Map map) {
		// TODO Auto-generated method stub
		return shipmentDao.GetListPengiriman(kode, map);
	}

	@Override
	public List<Map> getMaster(String kode, Map map) {
		// TODO Auto-generated method stub
		return masterDao.getMaster(kode, map);
	}

	@Override
	public List<Map> insertDermagaBb(String kode, Map map) {
		// TODO Auto-generated method stub
		return portDao.insertDermagaBb(kode, map);
	}

	@Override
	public List<Map> getListDermagaBy(String kode, Map map) {
		// TODO Auto-generated method stub
		return portDao.getListDermagaBy(kode, map);
	}

}
